/*************************************************************
 * Title: OredConditions.java
 * Description: 
 * Author: Huang Shaobin
 * Email: huangshaobin@qtt.cn
 * CreateTime: Feb 18, 2013 4:33:58 PM
 * Copyright © 北京全天通信息咨询服务有限公司 All right reserved
 ************************************************************/
package snow.core.persistence.query;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 *
 */
public class OredConditions extends Conditions {

	private List<Conditions> oredConditions;

	public OredConditions() {
		super();
		this.oredConditions = new ArrayList<Conditions>();
	}

	public OredConditions addConditions(Conditions conditions) {
		this.oredConditions.add(conditions);
		return this;
	}

	public List<Conditions> getOredConditions() {
		return Collections.unmodifiableList(this.oredConditions);
	}

}
